package com.camel.base.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.camel.core.entity.BasePaginationEntity;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 答题详情
 *
 * @author Administrator
 * @TableName zs_answer_item
 */
@TableName(value = "zs_answer_item")
@Data
public class ZsAnswerItem extends BasePaginationEntity implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     *
     */
    @TableField(value = "survey_id")
    private Integer surveyId;

    /**
     *
     */
    @TableField(value = "question_id")
    private Integer questionId;

    /**
     * 选项id
     */
    @TableField(value = "option_id")
    private Integer optionId;

    /**
     *
     */
    @TableField(value = "answer_id")
    private Integer answerId;

    /**
     *
     */
    @TableField(value = "option_name")
    private String optionName;

    /**
     *
     */
    @TableField(value = "value")
    private String value;

    /**
     * 单题得分
     */
    @TableField(value = "score")
    private Double score;

    /**
     *
     */
    @TableField(value = "type")
    private Integer type;

    @TableField(value = "remark")
    private String remark;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}